package com.shopping.dao;

import com.shopping.entity.MiaoshaOrder;
import com.shopping.entity.OrderInfo;
import org.apache.ibatis.annotations.Param;

public interface OrderMapper {


    MiaoshaOrder getMiaoshaOrderByOrderIdGoodsId(@Param("id") Long id, @Param("goodsId") Long goodsId);

    long insert(OrderInfo orderInfo);

    int insertMiaoshaOrder(MiaoshaOrder miaoshaOrder);
}
